package org.cmodel.example.listener;

import com.gitee.starblues.integration.listener.PluginInitializerListener;
import org.springframework.stereotype.Component;


@Component
public class PluginListener implements PluginInitializerListener {

    @Override
    public void before() {
        System.out.println("初始化之前");
    }

    @Override
    public void complete() {
        System.out.println("初始化完成");
    }

    @Override
    public void failure(Throwable throwable) {
        System.out.println("初始化失败:"+throwable.getMessage());
    }
}
